package user.model;

/**
 * Dynamic entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Dynamic implements java.io.Serializable {

	// Fields

	private Integer id;
	private String user1;
	private String user2;
	private String content;
	private Integer flag;
	private String datetime;

	// Constructors

	/** default constructor */
	public Dynamic() {
	}

	/** full constructor */
	public Dynamic(String user1, String user2, String content, Integer flag,
			String datetime) {
		this.user1 = user1;
		this.user2 = user2;
		this.content = content;
		this.flag = flag;
		this.datetime = datetime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser1() {
		return this.user1;
	}

	public void setUser1(String user1) {
		this.user1 = user1;
	}

	public String getUser2() {
		return this.user2;
	}

	public void setUser2(String user2) {
		this.user2 = user2;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getDatetime() {
		return this.datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

}